lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

Header files.md (375B)


      1 +++
      2 title = 'Header files'
      3 +++
      4 # Header files
      5 - collections of declarations
      6 - conventionally have extension .h
      7 - #included near “head” of program
      8 
      9 ## `#include`
     10 - copies contents of header into program text
     11 - for consistency, #include interface of class into file with its implementation
     12 - handled by preprocessor (first compiler phase) — check what it does by g++ -E